package cn.ilikes.tools.nosql.jpa.classloads;

import org.slf4j.Logger;

import cn.ilikes.tools.logs.Loggerfactory;

public abstract class ABJPASQLClassLoader extends ClassLoader {

	private static Logger logger = Loggerfactory.instance(ABJPASQLClassLoader.class);

	public ABJPASQLClassLoader(ClassLoader parentClassLoader) {
		super(parentClassLoader);
		init();

	}

	public ABJPASQLClassLoader() {
		super(Thread.currentThread().getContextClassLoader());
		init();

	}

	private void init() {
		Loggerfactory.info(logger, "JPA SQL ClassLoader  init  ... ");
	}

}
